package com.njwb.consumer.exception;

public class OpenFeignException extends  RuntimeException{
    /**
     * Http错误码
     */
    private int errorCode;
    /**
     * 错误消息
     */
    private String errorMsg;
    public OpenFeignException(int errorCode, String errorMsg) {
        super(errorMsg);
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }
}
